package com.wngz.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tbl_employee")
public class Employee {
    private Integer id;
    private String name;
    private String sex;
    private String depart;
    private Double salary;
    @TableLogic(delval = "1", value = "0") //这是一个逻辑删除的字段
    private Integer deleted;
}
